import Menu from "@/components/menu";
import logoImg from "@/assets/logo.png";
import css from "./index.module.scss";
const Header = (props: any) => {
  const { isShowLogo = true } = props;
  return (
    <div className={css.header}>
      <div className={css.logo}>
        <img
          src={logoImg.src}
          alt=""
          style={{ display: `${!isShowLogo ? "none" : "block"}` }}
        />
      </div>
      <div className={css.menu}>
        <Menu />
      </div>
    </div>
  );
};
export default Header;
